package com.mlt.back.beans;
/**
 * @Description 商品信息实体类
 * @Author 李
 */
public class Good {
    private int good_id;
    private String good_name;
    private String good_img;
    private int good_cost;
    private int good_min_price;

    //构造函数
    public Good(int good_id, String good_name, String good_img, int good_cost, int good_min_price) {
        this.good_id = good_id;
        this.good_name = good_name;
        this.good_img = good_img;
        this.good_cost = good_cost;
        this.good_min_price = good_min_price;
    }

    public Good() {
    }

    //get/set
    public int getGood_id() {
        return good_id;
    }

    public void setGood_id(int good_id) {
        this.good_id = good_id;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public String getGood_img() {
        return good_img;
    }

    public void setGood_img(String good_img) {
        this.good_img = good_img;
    }

    public int getGood_cost() {
        return good_cost;
    }

    public void setGood_cost(int good_cost) {
        this.good_cost = good_cost;
    }

    public int getGood_min_price() {
        return good_min_price;
    }

    public void setGood_min_price(int good_min_price) {
        this.good_min_price = good_min_price;
    }

    //toString
    @Override
    public String toString() {
        return "Good{" +
                "good_id=" + good_id +
                ", good_name='" + good_name + '\'' +
                ", good_img='" + good_img + '\'' +
                ", good_cost=" + good_cost +
                ", good_min_price=" + good_min_price +
                '}';
    }
}
